package com.systemdevelopment.mainproject.View.NormalUser;

import com.jfoenix.controls.JFXButton;
import com.systemdevelopment.mainproject.Model.Visitor;
import com.systemdevelopment.mainproject.View.Visitor.VisitorMenuController;
import com.systemdevelopment.mainproject.View.mainPaneController;
import com.systemdevelopment.mainproject.View.mainUI;
import com.systemdevelopment.mainproject.View.oneInstanceController;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;

public class NormalUserMenuController extends VisitorMenuController {

    @FXML
    private JFXButton gotoBorrowRecord;

    @FXML
    private JFXButton gotoBookSearch;

    @FXML
    private JFXButton gotoUserCenter;



    @FXML
    void gotoBorrowRecordPane(ActionEvent event) {
        closeDrawer();
        mainUI.loadContentPane("./NormalUser/PersonalBorrowRecordPane.fxml");
        ((PersonalRecordController) oneInstanceController.getController("PersonalRecordController")).InitTable();

    }


}

